Chunk statements

  • 2025-10-18

글을 단락으로 구분하듯, 관련된 코드 묶음들 사이에 빈 줄을 하나 넣기. 타이딩 중 하나.

This one wins the prize for simplest tidying. You’re reading a big chunk of code and you realize, “Oh, this part does this and then that part does that.” Put a blank line between the parts. …

After you’ve chunked statements, you have many paths forward, such as Explaining variables, Extract helper, or Explaining comments.

Tidy first? A personal exercise in empirical software design